<script src="<?php echo $templateUrl; ?>/js/vendor/jquery.js"></script>
<script src="<?php echo $templateUrl; ?>/js/foundation.min.js"></script>
<script>
	$(document).foundation({
		tab: {
			callback : function (tab) {

			}
		}
	});
	$('#myTabs').on('toggled', function (event, tab) {

	});
</script>